﻿using AutoMapper;

namespace Wuther.Infrastructure;

public class InfrastructureApplicationAutoMapperProfile : Profile
{
    public InfrastructureApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations*/

        CreateMap<Wuther.Infrastructure.Organizations.Organization, Wuther.Infrastructure.Organizations.OrganizationDto>(MemberList.None);
        CreateMap<Wuther.Infrastructure.Organizations.CreateOrUpdateOrganizationDto, Wuther.Infrastructure.Organizations.Organization>(MemberList.None);


    }
}
